package io.gitee.zhangbinhub.admin.base

import io.gitee.zhangbinhub.admin.po.QueryParam
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.Valid
import jakarta.validation.constraints.NotNull

/**
 * @author zhang by 26/11/2019
 * @since JDK 11
 */
abstract class BaseQueryPo {
    @Schema(description = "分页查询参数", requiredMode = Schema.RequiredMode.REQUIRED)
    @get:NotNull(message = "分页查询参数不能为空")
    @field:Valid
    var queryParam: QueryParam? = null
}